package com.hxkj.client.service.taglib.impl;

import com.hxkj.domain.po.FreeMarker;
import com.hxkj.client.service.taglib.AnalyzeLeafletService;
import com.hxkj.domain.po.Leaflet;
import com.integral.mall.file.po.SysFile;
import com.platform.common.domain.exception.CustomMessageException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 生成单页静态文件
 * @author chenfangzhou 2018/09/14
 */
@Service
@Slf4j
public class AnalyzeLeafletServiceImpl implements AnalyzeLeafletService {

    @Autowired
    private AnalyzeChannelServiceImpl analyzeChannelServiceImpl;

    @Override
    public SysFile analyzeLeaflet(FreeMarker freeMarker) throws Exception {
        return analyzeChannelServiceImpl.getSysFileResultDataStruct(freeMarker);
    }
}
